#include "StdAfx.h"
#include "EmitterFactory.h"
#include "ExplotionEmitter.h"


EmitterFactory* EmitterFactory::m_instance = new EmitterFactory;

EmitterFactory::EmitterFactory(void)
{
}

EmitterFactory::~EmitterFactory(void)
{
    delete m_instance;
}


template<class T>
T EmitterFactory::CreateEmitter( const std::string &emitter )
{
    //T emitter;
    //emitter.SetID( m_emitterIDs++ );
    return new T;
}